<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>理解浮动</title>
		<style>
			div {
				background-color: purple;
				width: 300px;
				height: 300px;
				/* display: inline-block; */
				float: left;
			}
			.three {
				float: right;
			}
		</style>
	</head>
	<body>
		<div class="one"></div>
		<div class="two"></div>
		<div class="three"></div>
	</body>
</html>